//
//  SLMoreCitysModel.m
//  futureLive
//
//  Created by zhoubiwen on 15/11/18.
//  Copyright © 2015年 ZHOU_LI_SUN. All rights reserved.
//

#import "SLMoreCitysModel.h"

@implementation SLMoreCitysModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {

}

- (void)setValue:(id)value forKey:(NSString *)key {
    
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"city"]) {
        self.city = [NSMutableArray new];
        for (NSDictionary *dict in value) {
            SLCityModel *model = [[SLCityModel alloc]init];
            [model setValuesForKeysWithDictionary:dict];
            [self.city addObject:model];
        }
    }
}
@end
